#ifndef __SPAWNSETS_H__
#define __SPAWNSETS_H__

#include "cocos2d.h"

using namespace cocos2d;

class SpawnSets
{

private:

	static const int NUM_OF_TYPES = 6;

	float	_numOfCatMultiplier,
			_intervalMultiplier,
			_varCatK,
			_varCatC,
			_varIntervalK,
			_varIntervalC;

	int		_numOfCats;
	int*	_pCatTypes;
	int*	_pCatDifficulty;
	int*	_pCatCounter;
	float*	_pCatIntervals;

	//===== FUNCTIONS =====
	void	initCatTypes(CCArray* pSpawnSets);
	void	getSpawnCount(int difficulty);
	void	updateMultiplier(int propertyDifficulty);

	void	setEquationVariable();
	float 	getNumOfCatsMultiplier(int propertyDifficulty);
	float 	getIntervalMultiplier(int propertyDifficulty);

public:

	//===== CONSTRUCTOR =====
	SpawnSets(CCArray* pSpawnSets);

	//===== DESTRUCTOR =====
	~SpawnSets(void);

	//===== FUNCTIONS =====
	void	update(int difficulty, int propertyDifficulty);

	//===== GETTERS ====
	int		getNumOfCats(){ return _numOfCats; }

};

#endif // __SPAWNSETS_H__
